#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	char buffer[256] = "1234";
	int i = *(int*)buffer;
	printf("%d\n", i);
	return 0;
}